
	var xmlHttp;

 	   function createXMLHttpRequest() {
			 if (window.ActiveXObject) 
			 {
                xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
          	 }
          	 else if (window.XMLHttpRequest) 
          	 {
                         xmlHttp = new XMLHttpRequest();
           	 }
	      }
	      

	       function statu(aid,btId)
	        {
              createXMLHttpRequest();
                
               var url ="newsArticles.html?method=status&aid="+aid+"&btId="+btId;
            
            
            xmlHttp.open("GET", url, true);

            xmlHttp.onreadystatechange = callback;

            xmlHttp.send(null);

        }

	      function callback() {

            if (xmlHttp.readyState == 4) {

                if (xmlHttp.status == 200) {
         
    	 
                     top.location.reload();                                  
                }

            }

        }

          
        
          

 
       
	      